
package com.work.db;

import com.work.db.dao.*;

public abstract class DaoFactory {

	private static DaoFactory instance;

	public static DaoFactory instance()
	{
		if (instance == null) {
			instance = new DaoFactoryImpl();
		}
		return instance;
	}

	public abstract WorkDayDao getWorkDayDao();

	public abstract PresentsDao getPresentsDao();

	public abstract LeaveDao getLeaveDao();

	public abstract OvertimeDao getOvertimeDao();

	public abstract EmployerDao getEmployerDao();

	public abstract RateDao getRateDao();

	public abstract LeavePerYearDao getLeavePerYearDao();
	
	public abstract UserDao getUserDao();
	
	public abstract EmploymentDao getEmploymentDao();
}